#pragma once
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include<assert.h>

typedef int StackType;
#define INIT_NUM 4
typedef struct Stack
{
	StackType* p;
	int capcity;
	int top;
}Stack;

void StackInit(Stack* st);
void StackPush(Stack* st, StackType x);
void StackPop(Stack* st);
void StackDestroy(Stack* st);

StackType StackTop(Stack* st);
int StackSize(Stack* st);
bool Stackempty(Stack* st);


